Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Review of #242: MongoDB persistence and native transaction enlistmentI read the store, enlistment, BSON buffer, registration and schema code against AGENTS.md. I did not build or run the tests. What looks sound
Non-blocking notes
Per-message cost: one reusable buffer, with no per-message allocation in the encoder. The rest of the allocation story is unchanged from what the PR describes. No actionable defects found. |
|
Disposition of the Claude review on b8482f9:
No unresolved review threads were present. The CLEAR verdict does not remove the upstream release blocker. |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
b8482f9 to
bd134bf
Compare
Review of #242 (MongoDB outbox storage foundation)I read the store, its fenced-claim filters and the header codec against AGENTS.md and found no actionable defects. I did not run the build or tests.
Release blocker, unchanged: MongoDB.Driver 3.13.0 still fails strict trimming and Native AOT publication (CSHARP-4840). The PR description says to keep this draft on hold, so it must not be promoted or auto-merged until a driver version passes the strict publish smoke step. This is an existing, documented hold, not a new code finding. |
|
Corrected the stale #245 draft reference: its shared suite is on main (2475655). MongoDB.Driver 3.13.0 is still the latest release, so the strict publication hold remains; this draft stays unarmed. 2026-11-13 triage: Latest release check (2026-11-13): MongoDB.Driver 3.14.0 shipped on November 12. It contains discriminator security fixes and breaking changes, so adopt that release or newer when resuming. The previously reproduced strict publish failure is for 3.13.0; no new 3.14.0 publish result is claimed. CSHARP-4840 remains unresolved with no fix version, and the released BsonClassMapSerializationProvider and BsonSerializationProviderBase retain the unannotated MakeGenericType/Activator serializer construction behind the recorded diagnostics. Keep on-hold until a supported native path passes strict publication and runtime smoke; a newer version number alone does not meet the gate. Current draft head is 80edb53. No unresolved threads or new code findings; historical validation remains attached to its named heads. Shared store tests are already on main through #245. |
bd134bf to
80edb53
Compare
Review of #242 (MongoDB outbox storage foundation), head 80edb53I re-read the store and header codec on this rebased head and compared them with the previous CLEAR review. I found no new actionable defects. I did not run the build or tests.
Release blocker, unchanged: MongoDB.Driver 3.13.0 still fails strict trimming and Native AOT publication (CSHARP-4840). The PR description and the maintainer's latest comment keep this draft on hold. It must not be marked ready or auto-merged until the strict publish smoke step passes without suppressing diagnostics. This is a documented hold, not a new code finding. |
|
The enlistment guard in |
Adds the MongoDB persistence foundation for #42: native transaction enlistment, explicit schema deployment, named durable storage, bounded reads and fenced claims. Application writes and outgoing rows share the caller's native transaction. Original UUIDv7 identity, binary payloads, duplicate/binary headers, ordering keys and exact UTC instants survive storage.
Release blocker: Strict trimming and Native AOT publication failed with MongoDB.Driver 3.13.0. The current release, 3.14.1, retains the dynamic serializer construction behind the recorded diagnostics. Strict publication with 3.14.1 remains unverified. Keep this draft and #233 on hold until a supported driver path passes strict publication and runtime smoke testing with diagnostics enabled. See #233 for the latest source check and release gate. Upstream AOT tracking
This implements the storage/enlistment child. MongoDB inbox handling remains #234; commit-triggered dispatch, lane ownership, poison rows, recovery and retention remain #235. Parent #42 stays open. Registration alone does not deliver stored messages or advertise scheduling support.
Closes #233
Native and existing features reused:
IClientSessionHandle,StartTransaction, commit/abort andWithTransactionAsyncretry. Relayer associates one native transaction and writes immediately, without a commit wrapper or replacement retry protocol.RawBsonDocumentandByteArrayBuffer. D40 explains why the fixed-schema encoder uses reusable capacity instead of the whole-arrayBsonBinaryWriter.WriteBytes(byte[])API for arbitrary borrowed memory slices.IOutboxStore,IOutboxEnlistment, keyed DI and Options contracts. New provider-independent store tests run against both PostgreSQL and a MongoDB replica-set Testcontainers deployment.Validation:
npm ciand production documentation builds pass, including after rebase. The unchanged 19 moderate/3 low audit findings already have dispositions inwebsite/README.mdand Address documentation dependency audit vulnerabilities #101/fix: patch documentation tooling dependencies #200.dotnet publish tests/Relayer.Outbox.MongoDB.AotSmoke -c Release -r win-x64fails in driver/BSON analysis (IL3050,IL2070and related diagnostics). No repository warning guard is disabled.IlcTreatWarningsAsErrors=falseandILLinkTreatWarningsAsErrors=falseon the command line only. Its final-head native executable passes real schema, native transaction, read, count, claim, renewal, failure and completion operations against MongoDB 8.0.16. Constructor roots preserve native built-ins without changing global serializer configuration. This narrow runtime result does not establish general driver AOT safety.Test-AssertPrGreenChecks.ps1pass. Full solution tests and Linux hosted execution were not run locally.Rebased onto b955339, preserving Protobuf changes at shared insertion points. The provider, shared tests and codec benchmark sources are unchanged by rebase. Earlier test/benchmark results precede the rebase; final solution build, documentation build and diagnostic native smoke use b8482f9.
Evidence:
C:/git/Relayer-evidence/pr-242/b8482f94a63b00f76bfc5256974bd766abff28d1/. All 438 copied files were verified against originals by SHA-256. The archive includes raw logs/reports, benchmark harness and loaded binaries, final source and diagnostic AOT executable.provenance.txtdistinguishes earlier measurements from final rebuilt test binaries. Local retention lasts while this PR remains open; closed-item cleanup may remove it. No generated evidence is committed.Shared test extraction shipped in #245 (2475655), closing #244. On resumption, rebase onto current main and reuse tests/Shared/OutboxStoreContractTests.cs, including its UTC eligibility cases; retain only MongoDB-specific adaptation here. The strict native-driver AOT hold remains unchanged.
Latest release check (2026-11-23): MongoDB.Driver 3.14.1 remains the latest stable release. CSHARP-4840 remains unresolved with no fix version. See #233 for the released serializer source check.
Before resuming review, address the keyed enlistment finding and add its registration test. PR #1196 fixed the same guard in the shipped providers. The draft still owns the MongoDB registration change.